/*定义整个目录框架的大小*/
#sideToolbar {
    position: fixed;
    bottom: -25px; /*距离页面底部的距离，不能设置过小，否则按钮看不到无法关闭*/
    right: 15px;
    width: 300px;
    height: 450px
}

#sideCatalog {
    background-color: #fff;
    padding-bottom: 10px;
    border-radius: 5px;
}

#sideCatalog-sidebar {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #eaeaea;
    border-color-moz-use-text-color: #eaeaea;
    border-image: none;
    border-left: 1px solid #eaeaea;
    border-right: 1px solid #eaeaea;
    border-style: none solid;
    border-width: 0 1px;
    height: 353px;
    left: 5px;
    position: absolute;
    top: 0;
    width: 0
}

/*目录形成的范围*/
#sideCatalog-catalog {
    height: 325px;
    padding-top: 18px;
    overflow: hidden;
    padding-left: 23px;
    position: relative
}

#sideCatalog #sideCatalog-sidebar .sideCatalog-sidebar-top {
    cursor: pointer;
    top: 0
}

#sideCatalog #sideCatalog-sidebar .sideCatalog-sidebar-bottom {
    bottom: 0
}

#sideCatalog #sideCatalog-sidebar .sideCatalog-sidebar-top, #sideCatalog #sideCatalog-sidebar .sideCatalog-sidebar-bottom {
    background: url("http://files.cnblogs.com/files/asxinyu/sideToolbar.gif") no-repeat scroll 0 -199px transparent;
    height: 10px;
    left: -5px;
    overflow: hidden;
    position: absolute;
    width: 10px
}

#sideCatalog li {
    margin: 0px;
    padding: 0 7px;
    text-align: left;
    position: relative
}

#sideCatalog li:hover {
    background-color: #f5f5f5
}

#sideCatalog-catalog ul .active {
    background-color: #f5f5f5
}

#sideCatalog-catalog .active a {
    color: #519cea
}

#sideCatalog-catalog a:hover {
    color: #519cea
}

#sideCatalog span:first-child {
    color: #999;
    font-family: Arial;
    font-size: 14px;
    font-weight: bold;
    padding-right: 5px
}

/*这里比较重要，设置h2级别目录的缩进和左边距*/
#sideCatalog li.h2Offset {
    padding-left: 45px;
    text-indent: -25px
}

/*这里比较重要，设置h3级别目录的缩进和左边距*/
#sideCatalog li.h3Offset {
    padding-left: 90px;
    text-indent: -60px
}

#sideCatalog a {
    text-decoration: none;
    color: #555;
    font-weight: bold
}

.sideCatalog-dot {
    background: url("http://files.cnblogs.com/files/asxinyu/sideToolbar.gif") repeat scroll 0 -222px transparent;
    cursor: pointer;
    font-size: 12px;
    height: 10px;
    left: -20px;
    line-height: 12px;
    overflow: hidden;
    position: absolute;
    top: 4px;
    width: 6px
}

#sideCatalog .highlight .sideCatalog-dot {
    background: url("http://files.cnblogs.com/files/asxinyu/sideToolbar.gif") no-repeat scroll -271px -38px transparent;
    height: 13px;
    left: -23px;
    top: 3px;
    width: 18px
}

#sideCatalogBtn {
    background: url("http://files.cnblogs.com/files/asxinyu/sideToolbar.gif") no-repeat scroll 0 0 transparent;
    cursor: pointer;
    display: block;
    height: 45px;
    margin-bottom: 5px;
    margin-left: 5px;
    position: relative;
    width: 45px;
    margin-top: 7px;
    outline: 0
}

#sideCatalogBtn:hover {
    background: url("http://files.cnblogs.com/files/asxinyu/sideToolbar.gif") no-repeat scroll -154px 0 transparent
}

.sideCatalogBtnDisable {
    background: url("http://files.cnblogs.com/files/asxinyu/sideToolbar.gif") no-repeat scroll -104px 0 transparent !important
}

#sideToolbar-up {
    background: url("http://files.cnblogs.com/files/asxinyu/sideToolbar.gif") no-repeat scroll -1px -62px transparent;
    border-radius: 2px;
    display: block;
    height: 45px;
    margin-left: 5px;
    width: 45px;
    outline: 0
}

#sideToolbar-up:hover {
    background: url("http://files.cnblogs.com/files/asxinyu/sideToolbar.gif") no-repeat scroll -74px -62px transparent
}